package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SpokenTeacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SpokenTeacherMapper {

    public List<SpokenTeacher> selectList(SpokenTeacher teacher);

    public int insert(SpokenTeacher teacher);

    public SpokenTeacher selectById(Long teacherId);

    public int update(SpokenTeacher teacher);

    public int updateMeetingInfo(SpokenTeacher teacher);

    public int delete(Long teacherId);

    public int selectCountByTagId(Long tagId);

    /**
     * 当前课程表是否被教师关联
     */
    public Integer checkCourseIsExist(Long courseId);

    /**
     * 查询教师数量
     */
    public Integer selectTeacherCount(@Param("startDate") String startDate, @Param("endDate") String endDate);

}
